Remove the zest from the lemon and place in a pan with the lemon juice, cloves, peppercorns, allspice, ginger, vinegar, cinnamon sticks and sugar. Stir over a gentle heat until the sugar has dissolved.
Peel, core and halve the pears, then add to the pan and simmer for 3-5 minutes, until the pears are just tender.
Spoon the fruit into warmed sterilised jars and pour over the hot liquid to cover.
Seal, label and store in a cool dry place for a month before using.