Characterization of the recovery of mechanical properties of ion-implanted diamond after thermal annealing