Place beetroot, onion, apple, vinegar, orange juice, sugar and cloves in a large heavy-based saucepan over medium-high heat. Stir until the sugar dissolves. Add the rosemary. Reduce heat to medium. Simmer for 1 hour or until the mixture thickens slightly.