Smash the garlic cloves.
In a pot, combine the rosemary, thyme, sage, heavy cream, a generous amount of salt, and peppercorns. Bring the mixture to a boil and let it steep for about 20 minutes.
Using a mandolin, thinly slice the potatoes and add them directly to the cream mixture.
Grease a baking dish with butter and arrange the sliced potatoes, either laying them flat or standing them on their edges.
Pour the cream mixture over the potatoes, then dot the top with butter and sprinkle with thyme leaves.
Bake in a low oven for approximately 1 to 1.5 hours, until the top is golden and bubbly, and a knife can easily slide through the potatoes.
Allow the dish to rest for a minute or two before serving.
