Permanent magnetic square