Put any item on a copper golem's head as a hat. Shift + right-click to add it, shears to remove it
Put item on copper golem
Unequip item from copper golem