Repetitively pulsed metal ion beams for ion implantation