Put the vinegar and sugar into a saucepan with 1litre (35fl oz) water and bring to a simmer. Add the garlic cloves and spices. Remove from the heat and leave to steep until cool. Bottle the garlic in the pickling liquid.
Store
In an airtight jar in the fridge or a cool place for up to 6 months.