As Oddshot states,
The shim is supposed to installed between the raised boss on the barrel and the gas cylinder.
There is also no need to ever remove the gas cylinder for regular cleaning. Once a rifle is completely set up any and all cleaning operations can be done with-out removing the gas system.
Side note: hungry/Barney/ Tactical teacher has ready access to Canadian made shims. They are perfectly serviceable and he hands them out like candy at clinics or for the price of postage, it seems. While they are serviceable, they do not like to be removed and re-installed. Treat them like a crush washer, one time use! Once installed and then un-installed they shouldn't be counted on to be reused. The offerings from brownelles (it's a $15 3 piece kit 5-10-15 thou) is a "barrel lifespan" item. I believe the ones on Brownelles are made by Fulton armoury. They can be removed and re-installed (with-in reason).
That said, I still don't see the reason to remove the gas system whenever the mood strikes you. The bore can and should be cleaned with out removal of the gas system, the gas system can and should be cleaned with out removal from the barrel. The only time you really a need to remove the action from the stock is when you are doing a full detail strip and clean, and even then you don't have to remove the gas cylinder from the barrel. Some bedded rifles do require the gas system to be removed or loosened to facilitate a detail strip and clean. In that particular instance I don't believe any builder worth his salt would install a shim!
The biggest problem I have seen using shims is you may mis-align the gas port to the gas cylinder. Which can cause short stroking.
You can also negate the need for shims if you can swap the gas lock front to back, or a different gas lock or (only for the really brave) roll over the barrel boss so that it makes contact on the gas cylinder further out. I don't reccomend rolling the barrel boss unless you are a fairly experienced "tuner" or an experienced metal worker. You want the rolled edge uniform all the way around the barrel.
My $.02
Cheers!