To have a magnetic clamp stick together with your magnet,
make sure that the magnetic base and the magnet you are using touch with same polarity.
make sure that the magnetic base and the magnet you are using touch with opposite polarity.