01 - Preheat oven to 350°F. Grease and line the bottoms of three 8-inch round cake pans with parchment paper.
02 - In a medium bowl, whisk together flour, baking powder, baking soda, salt, cinnamon, nutmeg, cloves, and ginger until well combined.
03 - In a large bowl, beat granulated sugar, brown sugar, and oil until combined. Add eggs one at a time, beating well after each addition. Stir in vanilla extract.
04 - Gradually mix the dry ingredients into the wet ingredients until just combined. Do not overmix.
05 - Fold in grated carrots, nuts, raisins, and pineapple until evenly distributed throughout the batter.
06 - Divide batter evenly among prepared pans and smooth the tops. Bake for 30 to 35 minutes, until a toothpick inserted into the center comes out clean.
07 - Let cakes cool in pans for 10 minutes, then turn out onto wire racks to cool completely before frosting.
08 - In a large bowl, beat cream cheese and butter until smooth and creamy. Gradually add powdered sugar, vanilla, and salt, beating until light and fluffy.
09 - Level cake layers if needed. Place one layer on a serving plate, spread with frosting. Repeat with remaining layers. Frost top and sides of cake evenly.
10 - Decorate with extra chopped nuts or carrot curls if desired. Chill for at least 30 minutes before slicing to set the frosting.