Based on the form-invariant of Maxwell's equations under coordinate
transformations, we extend the theory of transformation optics to
transformation magneto-statics, which can design magnets through coordinate
transformations. Some novel DC magnetic field illusions created by magnets
(e.g. shirking magnets, cancelling magnets and overlapping magnets) are
designed and verified by numerical simulations. Our research will open a new
door to designing magnets and controlling DC magnetic fields