In a large bowl, combine flour, sugar, butter, molasses, egg, cinnamon, baking powder, ginger, cloves, baking soda, salt, and nutmeg. With a mixer at medium speed, beat until well-mixed. Wrap in plastic wrap and refrigerate 1 hour. Preheat oven to 350°F.