Grease a 9x13-inch pan and line it with parchment paper.
Measure the ingredients accurately. Use a kitchen scale, if available.
Bring the eggs, cream cheese, and butter to room temperature.
Lightly toast the nuts in the oven for about 5 minutes.
Make the cake
Arrange a rack in the middle of the oven and preheat it to 350° F (177° C).
In a bowl, sift the dry ingredients—flour, baking powder, baking soda, cinnamon, nutmeg, cloves, and salt. Whisk them together.
In a larger bowl, combine the wet ingredients—eggs, sugar, oil, and vanilla. Whisk until well blended.
Add half of the dry ingredients to the wet ingredients. Mix them together, then add the rest of the dry ingredients. Mix until no more flour is visible.
Add carrots, pineapple, and 1 cup of nuts. Using a rubber spatula, fold them in until incorporated. Do not overmix.
Spread the batter evenly on a greased and lined pan. Bake for 25-30 minutes. Insert a toothpick in the center of the cake; it should come out with just a few crumbs clinging to it. Let it cool.
Make the frosting
Using a hand mixer, beat cream cheese and butter on medium speed for about a minute until smooth and fluffy.
Add vanilla, powdered sugar, and salt. Beat on high speed for 3 minutes until smooth and fluffy.
Decorate
Spread the frosting onto the cooled cake using an offset spatula or the back of a spoon.
Top it with the remaining ½ cup of nuts. Refrigerate for at least an hour before serving.
Notes
All-purpose flour: You can substitute half with white whole wheat flour or almond flour for added flavor and moisture.
Pineapple: Substitute with applesauce or mashed bananas.
Without the frosting: Dust the cake with some powdered sugar for a faster, lighter approach.