For any nonconforming single-family dwelling located within the R-1, R-1A, R-3, R-M, and RM/POS Zoning Districts (said zoning districts to be defined hereinafter as "residential zoning districts") of the Borough that shall have been destroyed by reason of flood, windstorm, fire, explosion or act of God or otherwise to an extent of more than partial destruction as provided for in N.J.S.A. 40:55D-68, and such destruction shall have been deemed substantially damaged by the Borough Code Enforcement Officer, for the period permitted by this subsection, such nonconforming single-family dwelling located within a residential zoning district of the Borough may be rebuilt, restored or repaired, provided such building or structure is rebuilt, restored or repaired within the existing dwelling's footprint, does not exceed the height, area and bulk footprint such as setbacks of the original building or structure, and such rebuilding, restoration or repair is otherwise in conformity with the regulations of this Chapter. Nothing in this subsection shall prevent the strengthening or restoring to a safe condition of any wall, floor or roof which has been declared unsafe by the Construction Official.