Optimization of Laser‐Generated Ion Beams