Briefly boil the vinegar, sugar, cloves, and peppercorns until the sugar has dissolved. Slice the red onions into thin rings and place them in a pickling jar. Pour the brine over the onions and let it cool. Store the jar in the refrigerator; the pickled onions will last about 1-2 months.