Preheat the oven to 425 F. Grease a baking dish with nonstick spray or oil.
In a large pot, cover the potatoes with about an inch of cold water. Swish them around, then drain. Cover them with a fresh 1 inch of cold water. Bring to a boil over high heat and continue to cook until the potatoes are very tender and easily fall apart, 20-25 min, stirring occasionally (you can use a lid at first to speed up the boil)
3 lb potatoes
Drain the potatoes very well, shaking excess water from the colander. Allow to sit and release steam in the colander for 5 minutes.
Return the potatoes to the pan off the heat. Using a potato masher or hand beaters, beat until very smooth. For very smooth potatoes, press them through a metal sieve with the back of a spoon or spatula (or use a ricer instead of mashing them).
Once smooth, add butter, cream, and spices. Stir with a spatula until combined. If they are still steaming, allow to cool another few minutes so you don’t cook the eggs.
3 tablespoon butter, 6 tablespoon heavy cream, 1.5 teaspoon kosher salt, ½ teaspoon pepper, ½ teaspoon garlic powder, ¼ teaspoon nutmeg
Once just warm, add the egg yolks one at a time, mixing well between additions, until thoroughly combined.
5 egg yolks
Transfer the potatoes to the baking dish and smooth the surface. Use a fork to create grooves on the top of the potato mixture.
If the potatoes seem a little saggy, refrigerate for 20 minutes or longer.
Before baking, spray lightly with non-stick cooking spray or use an oil mister all over to help the top get golden. Bake for 15-20 minutes, or until the edges are golden. Cool for 5 minutes, then serve.