Preheat the oven to 325°F (165°C).
Place the ham in a roasting pan, fat side up. Score the surface of the ham in a diamond pattern.
In a saucepan over medium heat, combine apricot preserves, honey, Dijon mustard, apple cider vinegar, ground cloves, cinnamon, and black pepper. Stir until the mixture is smooth and heated through.
Brush half of the glaze over the ham, covering it thoroughly.
Cover the ham loosely with foil and bake for 1 hour and 30 minutes.
Remove the foil and brush the remaining glaze over the ham.
Return the ham to the oven, uncovered, and bake for an additional 30 minutes or until the internal temperature reaches 140°F (60°C).
Let the ham rest for 15 minutes before slicing. Garnish with fresh rosemary if desired.