Applications of ion beams to metals