Preheat your oven to 350°F (175°C). Grease a 9x13-inch pan or line with parchment paper.
In a bowl, whisk together flour, baking powder, baking soda, cinnamon, cloves, and salt. Set aside.
In a large bowl, beat the butter and sugar until light and fluffy. Add eggs one at a time, then vanilla extract.
Stir in sour cream until smooth.
Gradually fold in dry ingredients until just combined. Don’t overmix.
Add chopped apples and nuts if using. Fold gently.
Pour batter into prepared pan, smooth the top. Bake for 40–45 minutes, or until a toothpick inserted comes out clean.
Let cool for 10 minutes, then slice and enjoy warm or at room temperature. Optional: top with powdered sugar or whipped cream.