Preheat the oven to 350°F (175°C) and prepare your baking pan.
In a large bowl, mix together the flour, baking soda, baking powder, salt, and spices.
In a separate bowl, whisk together the granulated sugar, brown sugar, pumpkin puree, and vegetable oil until smooth.
Add the eggs and vanilla extract to the pumpkin mixture, mixing until well combined.
Gradually add the dry mixture to the wet ingredients, stirring until just combined.
In a small bowl, beat the cream cheese and powdered sugar until smooth.
Pour half of the pumpkin batter into the prepared pan evenly.
Dollop the cream cheese filling on top of the batter, then spoon the remaining batter over the cream cheese filling.
Use a knife to gently swirl the batter and filling together for a marbled effect.
Bake for 50-60 minutes, until a toothpick comes out clean.
Allow the cake to cool in the pan for 15 minutes, then transfer it to a wire rack to cool completely.
Serve plain or with whipped cream on top for an extra touch.