Preheat Oven: Preheat your oven to 350°F (175°C). Grease a 9-inch round cake pan and line with parchment paper.
Mix Dry Ingredients: In a medium bowl, whisk together flour, baking soda, baking powder, cinnamon, nutmeg, cloves, and salt. Set aside.
Combine Wet Ingredients: In a large bowl, use an electric mixer to blend applesauce, granulated sugar, brown sugar, oil, eggs, and vanilla extract until smooth, about 2 minutes on medium speed.
Make Batter: Gradually add dry ingredients to the wet mixture, stirring until just combined. Avoid overmixing. Fold in walnuts or raisins if using.
Bake: Pour batter into the prepared pan, smoothing the top. Bake for 30–35 minutes, until a toothpick inserted in the center comes out clean.
Cool: Let the cake cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.
Optional Frosting: For frosting, beat cream cheese and butter until smooth. Gradually add powdered sugar and vanilla, mixing until creamy. Spread over cooled cake.
Serve: Slice and serve plain or frosted, as desired.