I have an old Krups coffee grinder (about $15) I picked up at WalMart or Target or K-Mart about 10 years ago that I use for spices. It works like a champ. The trick is to run it for a second or two, give it a shake, and repeat as necessary to get the fineness of grind I need. For cleanup, I just use a small pastry brush to brush it out ... and if the spice is oily I grind some bread in it, brush the crumbs out, then wipe it out with a paper towel moistened with a solvent (vodka or vinegar), wipe it dry, and let it totally air dry before putting the top back on for storage.
Coffee beans are not exactly soft - so I don't see where cloves would give you any problem. Peppercorns are pretty hard - and I grind them in it, too.
KitchenAid has come out with one I would really like to get if/when my Krups gives up the ghost. It has a 4-oz capacity, with a removeable blade and stainless steel bowl that are dishwasher safe. Target, and most on-line sources, sell them for $30. While it is a little more than the others the advantage of being able to remove and clean the blades and bowls means you can use one grinder for both coffee and spices without having to sorry about your coffee tasting like spices or your spices tasting like coffee.