Preheat the oven to 350°F and line a 9 x 9-inch baking pan with parchment paper, leaving enough overhang to lift the bars out later. Lightly grease any exposed sides of the pan.
In a medium bowl, whisk together 2 1/4 cups all-purpose flour, the ground ginger, cinnamon, cloves, nutmeg, baking soda, and salt until evenly combined.
In a large bowl, beat the softened butter, brown sugar, and 1/4 cup granulated sugar with a mixer until light and creamy, about 2 to 3 minutes. Beat in the molasses, 1 large egg, and 1 teaspoon vanilla extract until smooth.
Add the dry ingredients to the butter mixture and mix on low speed just until a soft dough forms with no dry streaks remaining. Do not overmix.
Press about two-thirds of the gingerbread dough evenly into the bottom of the prepared pan to form the base. Set the remaining dough aside for the topping.
In another bowl, beat the softened cream cheese and 1/2 cup granulated sugar until smooth and creamy. Add 1 large egg, 1 teaspoon vanilla extract, and 2 tablespoons all-purpose flour, then mix just until fully combined and silky.
Spread the cheesecake filling evenly over the gingerbread base, smoothing the top with a spatula. Pinch off small pieces of the remaining gingerbread dough and scatter them evenly over the cheesecake layer to create a rustic top.
Bake for 35 to 40 minutes, until the topping looks set and the cheesecake layer has a slight jiggle in the center but is no longer liquid. Do not overbake.
Transfer the pan to a wire rack and cool completely at room temperature for about 1 hour. Then refrigerate for 3 hours, or until fully chilled and firm.
Use the parchment overhang to lift the chilled slab from the pan. Slice into 16 bars with a sharp knife, wiping the blade clean between cuts for neat edges.