Orange peels: Get an orange and poke it with a sharp object like a needle or fork to form small holes. Place each of the cloves inside these small holes until most of the orange surfaces are covered. It may look like a hedgehog with the cloves jutting out of the orange fruit. Leave it in the confined area for a couple of days. The area will smell nice with the said combinations.
It is not an easy task however, to remove trash can smells, especially within a confined area, for instance in the refrigerator, in the trunk at the back of your car, in the wardrobe or in a poorly ventilated tiny room nearest the can.