Trim a sheet of parchment paper to fit the interior of a half sheet pan. Adjust oven rack to lower-middle position and preheat to 350 degrees F . Combine brown sugar, cinnamon, ginger, cloves, salt, corn syrup, butter, and vanilla in the bowl of a stand mixer fitted with a paddle attachment. Mix on low until smooth, then sprinkle in flour and continue mixing to form a stiff dough. Turn onto a lightly floured surface and knead until smooth. Proceed immediately, or wrap in plastic and set aside at room temperature until needed, up to 24 hours. .