Put any item on a copper golem's head as a hat. Shift + right-click to add it, shears to remove it
Shift + Right click with the item in your hand
Sift + Right click with a shear