If any structure that is devoted in whole or in part to a nonconforming use is damaged or destroyed by violent wind, vandalism, fire, flood, ice, snow, mold, infestation, or other calamity, the structure and nonconforming use may be restored or replaced to the size, location, and use that it had immediately before the damage or destruction occurred, subject to Building Code and other applicable requirements.