Step 1: Preheat the Oven: Preheat the oven to 350F (175C). Grease and flour a 9x13 inch baking pan.
Step 2: Combine Dry Ingredients: In a large bowl, whisk together the flour, baking soda, cinnamon, nutmeg, cloves, and salt. Ensure all ingredients are evenly distributed for a consistent flavor throughout the cake.
Step 3: Mix Wet Ingredients: In a separate bowl, combine the sugar and vegetable oil. Beat until well combined, then add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
Step 4: Combine Wet and Dry Ingredients: Gradually add the dry ingredients to the wet ingredients, mixing until just combined. Be careful not to overmix; a few streaks of flour are acceptable at this stage.
Step 5: Fold in Carrots and Walnuts: Gently fold in the grated carrots and chopped walnuts until evenly distributed throughout the batter.
Step 6: Bake the Cake: Pour the batter into the prepared baking pan and spread evenly. Bake for 35-45 minutes, or until a wooden skewer inserted into the center comes out clean.
Step 7: Cool the Cake: Let the cake cool in the pan for 10 minutes, then invert it onto a wire rack to cool completely.
Step 8: Prepare the Cream Cheese Frosting: In a large bowl, beat the softened cream cheese and butter until smooth and creamy.
Step 9: Add Powdered Sugar: Gradually add the powdered sugar, one cup at a time, beating until smooth. Stir in the vanilla extract.
Step 10: Frost the Cake: Once the cake is completely cooled, spread the cream cheese frosting evenly over the top.
Step 11: Optional Garnish: Sprinkle additional chopped walnuts on top of the frosting for added visual appeal and flavor.
Optional Tips: For a richer flavor, brown the butter before making the frosting. Pecans can be substituted for walnuts. A teaspoon of lemon zest can be added to the frosting for a brighter flavor.