Prepare and bake the ham. Preheat the oven to 325 degrees Fahrenheit.Remove the ham from its packaging, rinse it to remove excess salt, then pat it dry with clean paper towels. Place the ham in a large baking dish with 2 cups of water. Cover tightly with aluminum foil and bake for approximately 2 hours(or 20 minutes per pound), following the heating instructions on the ham's packaging.
Prepare the pineapple guava glaze. While the ham bakes, add the brown sugar, guava preserves, mustard powder, whole cloves, pimento seeds, freshly grated ginger, pineapple juice, thyme leaves, rosemary leaves, black pepper, and salt to a saucepan. Stir to combine and bring to a gentle simmer over medium-low heat for 5 minutes. Reduce the heat to low and continue to simmer, stirring occasionally, for another 10 minutes, or until the glaze begins to thicken.
Score and stud the ham. Remove the ham from the oven and carefully drain the liquid from the baking dish, reserving a few tablespoons for later use. Increase the oven temperature to 400 degrees Fahrenheit. Using a sharp knife, score the exterior of the ham by making shallow diagonal cuts in opposite directions to create a diamond pattern. Stud the ham all around with whole cloves.
Glaze and decorate the ham. Pour half of the pineapple guava glaze over the ham. Arrange the pineapple slices around the exterior, placing a maraschino cherry in the center of each pineapple ring. Secure the pineapple slices and cherries with wooden toothpicks. Baste the decorated ham with the glaze from the baking dish.
Finish baking. Return the ham to the oven, uncovered, and bake for approximately 20 to 30 minutes, or until the exterior has caramelized and browned to your liking. Baste the ham every 10 minutes with the glaze from the baking dish. Check that the ham has reached the internal temperature recommended on its packaging.
Thicken the remaining glaze. In a small bowl, combine 2 tablespoons of the reserved ham liquid with 2 teaspoons of cornstarch, stirring until smooth.Return the saucepan with the remaining pineapple guava glaze to low heat. Stir in the cornstarch slurry and bring to a gentle simmer, stirring until the glaze thickens.
Rest and serve. Pour the thickened pineapple guava glaze over the finished ham and allow it to rest for approximately 15 minutes before carving. Remove the toothpicks and whole cloves as you carve and serve.