Elastomagnetic effect in novel elastic magnets