01 - Preheat oven to 375°F. Rub a large baking dish with cut sides of garlic clove, then butter with 1 tbsp butter.
02 - Arrange half the sliced potatoes in dish, overlapping slightly. Top with half the onions and season with salt, pepper, and nutmeg.
03 - Sprinkle half the grated Gruyère evenly over the potato layer.
04 - Repeat layering with remaining potatoes, onions, seasoning, and cheese, ensuring cheese forms the final top layer.
05 - Gently heat cream and milk in saucepan until just steaming but not boiling. Pour evenly over layered potatoes.
06 - Dot surface with remaining 1 tbsp butter, distributing evenly across top.
07 - Cover dish with foil and bake for 40 minutes until potatoes begin to soften.
08 - Remove foil and bake additional 20 minutes until potatoes are tender and top is golden brown with bubbling cheese.
09 - Allow dish to rest 10 minutes before serving to set. Garnish with chopped chives or parsley if desired.