2 repulsive magnets and a thin sheet of mu-metal. When the sheet is inserted, the magnets are attracted to the sheet. After removing the sheet, the magnets repel.