Mix all of the spices with the flour and put it aside. Melt the butter and to it add the brown and white sugar, stir well.
Add 2 eggs and the vanilla and stir well. Add the carrots, coconut flakes and flour mixture and stir well. Cover with foil for 1 hour and put it in the fridge.
Preheat the oven to 356°F (180 °C). Form biscuits from the mixture and arrange them onto an oven dish laid out with baking paper. Put them in the oven for 10 min. Once you take them out, leave them to cool for a few min.
If you'd like to glaze them, mix the powdered sugar and lemon juice and pour this over them with a spoon.