Preheat the oven to 350°F.
Grease and flour two 9×2-inch round pans or two 8×8-inch pans or one 13×9-inch pan, or line the bottom with wax paper.
In a large bowl, throroughly whisk together the flour, sugar, baking soda, baking powder, cinnamon, cloves, nutmeg, all-spice, and salt.
Add the vegetable oil and eggs, and stir together well with a rubber spatula or beat on low speed.
Stir in the carrots, batter will be thick.
Scrape the batter into the pans(s) and spread evenly.
Bake until a toothpick inserted into the center comes out clean, 25 to 30 minutes.
Frost when completely cool.