The Smart Pin Replacement Magnet