Strong enhancement of transient magnetic fields in Gd over Fe for oxygen ions at high velocities