Preheat oven to 350 degrees and line muffin tin with liners.
Combine the flour, baking soda, cinnamon, ginger, cloves, nutmeg, and salt. Set aside.
Beat the melted butter, brown sugar, molasses, and egg until creamy.
Add 1/4 cup of the water to the melted butter mixture, then half the dry mixture, and stir.
Add the remaining water and dry mixture, stirring until thoroughly combined.
Scoop the batter into the prepared baking cups.
Bake 20-22 minutes.
Allow to cool completely before frosting.
To make the frosting: Beat together the butter and cream cheese until light and fluffy. Add the sugar and cinnamon, beat well. Add the milk slowly until you reach a spreadable consistency. Fill a piping bag with the frosting, and pipe large swirls on top of the cooled cupcakes.
If you are going to top with sprinkles do so after you frost each cupcake before the frosting has time to set.