Garlic can be frozen, as in Spain you can buy it already peeled and chopped in the frozen foods section. I imagine that possibly it would lose some flavour so you would just have to use a little more than the specified amount
To be honest Caroline, I haven't noticed any difference. If the recipe says 2 cloves, I use 2 which isn't a great quantity anyway.