Preheat your oven to 350°F (175°C) and line a 12-cup muffin tin with paper liners or lightly grease with cooking spray.
Toast the pecans by spreading them on a baking sheet and placing in the preheated oven for 5-7 minutes until fragrant. Watch them closely as they can burn quickly. Set aside to cool.
In a medium bowl, whisk together the flour, baking soda, salt, cinnamon, nutmeg, ginger, and cloves until well combined.
In a large bowl, combine the granulated sugar, brown sugar, pumpkin puree, eggs, vegetable oil, and vanilla extract. Mix until smooth and well incorporated.
Gradually add the dry ingredients to the wet ingredients, stirring just until combined. Do not overmix, as this will result in tough muffins.
Fold in the toasted pecans gently using a spatula, reserving a small amount for topping if desired.
Divide the batter evenly among the muffin cups, filling each about ¾ full.
Sprinkle the tops with the reserved chopped pecans and raw sugar if using.
Bake for 22-25 minutes or until a toothpick inserted into the center of a muffin comes out clean or with just a few moist crumbs.
Allow the muffins to cool in the pan for 5 minutes before transferring to a wire rack to cool completely.