Preheat the oven at 160 degrees Celsius.
Peel and cut the potatoes in thin slices.
Cut the bacon in small thin slices.
Use the garlic clove to rub the bottom of an oven form.
Place pieces of butter on the oven form bottom.
Cover the bottom with one layer of potatoes, add some of the bacon.
Stir together the milk, heavy cream and the spices, and pour some over the the potatoes.
Repeat the procedure with the potatoes, bacon and cream mixture until it is all used.
Put it in the oven for 45 minutes. Try to cut a knife in the gratin to see if it is soft and ready.
Sprinkle the cheese on top of the gratin and let in the oven a few more minutes. Take out the gratin and serve it warm.