Suppression of void nucleation by a vacancy trapping mechanism