Preheat the oven to 350°F (175°C). Grease a 9x5-inch loaf pan or line it with parchment paper.
In a medium bowl, whisk together the flour, baking soda, baking powder, salt, cinnamon, nutmeg, and cloves until well combined.
In a separate large bowl, whisk together the granulated sugar, brown sugar, pumpkin puree, oil, eggs, milk, and vanilla extract until smooth.
Gradually fold the dry ingredients into the wet ingredients, mixing just until combined. Be careful not to overmix. If using, gently fold in chopped walnuts or chocolate chips.
Pour the batter into the prepared loaf pan and smooth the top.
Bake for 55-65 minutes, or until a toothpick inserted into the center comes out clean or with just a few moist crumbs.
Let the bread cool in the pan for 10 minutes, then transfer it to a wire rack to cool completely.