Ham glaze utilizes many of the same warm spices used in root beer, such as sassafras, sarsaparilla, ginger, licorice, and dandelion. Above all other ingredients, the sarsaparilla in root beer makes a traditional ham glaze better since it is sweet yet sharp, similar to licorice, and adds a unique layer of flavor that highlights the meat and any aromatics you add to it.