- Preheat the oven to 350°F. Spray two 9-inch cake pans with baking spray. Take a pastry brush and brush the spray all over the inside of the pans to make sure they are evenly coated. 
- Add a circle of parchment paper to the bottom of the pan, not up the sides. Spray with baking spray, set aside. 
- In a large bowl, whisk together the flour, cinnamon, baking soda, salt, nutmeg, and cloves.  
- Place the butter and sugars in the body of a stand mixer with the paddle attachment or you can do this in a large bowl with an electric hand mixer, mix until smooth. 
- Add the eggs one at a time until incorporated and add the vanilla. 
- Add the dry ingredients to the wet and stir until just combined, scrape down the sides, and stir for about 30 seconds until everything is mixed in well.  
- Add the carrots, pineapple, half of the walnuts, and the raisins, stir until everything is incorporated.  
- Divide the batter between the two cake pans. 
- Smooth out the top and bake for 30-35 minutes or until a toothpick inserted into the center comes out mostly clean, a few crumbs hanging on is okay but no wet batter. 
- Let cool for 10 minutes in the pans. Invert the pans and let cool completely on a wire rack.  
- While the cakes cool, make the frosting by adding the cream cheese and butter to the body of a stand mixer with the paddle attachment. 
- Whip on medium until smooth. 
- Add the vanilla, powdered sugar, and cinnamon, mix to combine. Scrape down the sides as needed. 
- Turn the mixer on to medium-high and whip until light and fluffy, 2 minutes. 
- Once the cakes are cool, take the parchment paper off the bottoms. 
- Place one of the cakes bottom side down onto your serving platter. 
- There should be very little doming but if there is you can trim off a bit to make it more even. Add 1 & ½ cups of the frosting on top of the cake and smooth it out to the edge. 
- Invert the second cake and place it bottom side up on top of the frosting. Add a crumb coat to the entire cake. 
- Place cake in the fridge for at least 2 hours to set.  
- Frost with the remaining cream cheese frosting. 
- Add the walnuts along the bottom edge of the cake. 
- Slice and serve!