Gas Protection of Two-Dimensional Nanomaterials from High-Energy Impacts