Preheat the oven to 350°F (175°C). Grease and flour a 9x13 inch baking pan.
In a medium bowl, combine the flour, baking powder, baking soda, salt, ground cinnamon, ground nutmeg, and ground cloves. Set aside.
In a large bowl, beat the softened butter and granulated sugar together until light and fluffy.
Add the eggs one at a time, beating well after each addition. Stir in the vanilla extract.
Gradually add the dry ingredients to the wet ingredients, alternating with the sour cream and mixing until just combined.
Fold in the chopped apples.
Pour the batter into the prepared baking pan, spreading it evenly.
In a small bowl, mix the chopped walnuts, brown sugar, and ground cinnamon for the topping.
Sprinkle the walnut topping mixture evenly over the cake batter.
Drizzle the melted butter over the topping.
Bake in the preheated oven for 35-40 minutes, or until a toothpick inserted into the center of the cake comes out clean.
Allow the cake to cool in the pan before serving.