Preheat the oven to 350F (180C). Lightly grease a 10x15 inch jelly roll pan, then dust with flour. Set aside.
In a medium bowl, whisk together the flour, cinnamon, nutmeg, cloves, baking soda and salt.
In a large bowl, whisk together the eggs. Then whisk in the oil, brown sugar, granulated sugar, vanilla and sour cream Whisk until there are no more lumps of sugar or sour cream.
Stir the drained pineapple (optional) and shredded carrot.
Stir the flour mixture into the wet ingredients. Fold the ingredients in gently and stop mixing when you no longer see lumps or streaks of flour.
Gently fold in the optional raisins or chopped walnuts. If adding raisins - make sure to separate them first before adding them to the batter.
Pour the batter into the prepared pan and smooth into an even layer.
Bake in the preheated oven for about 25-30 minutes or until the top looks set, the edges are starting to pull away from the pan and an inserted toothpick comes out with a few moist crumbs but no gooey cake batter.