Preheat the oven to 350 degrees F (175 degrees C). Grease two 9x5-inch loaf pans.
Beat together sugar, oil, eggs, and vanilla in a large bowl until smooth. Fold in zucchini. Stir together flour, cinnamon, salt, baking soda, nutmeg, baking powder, and cloves in a separate bowl; gradually stir into sugar mixture until well combined. Fold in walnuts and raisins. Divide batter evenly into the prepared loaf pans.
Bake in the preheated oven until a toothpick inserted into the centers of each loaf comes out clean, about 50 minutes.