Technically this is a chutney. Chutneys are made using vegetables or fruit cooked with sugar and vinegar whereas Marmalades are made using citrus fruit. I've seen this recipe referred to as either red onion chutney or red onion marmalade. More than likely this recipe is referred to as a marmalade due to the stringy texture of the thin sliced onions.