Onions Baked with Rosemary and Cream

Adding cream at the last minute softens the rosemary's pungency.