how to separate a magnet