The voluntary demolition, razing, or removal of a nonconforming structure or building, or portion thereof, shall be considered an abandonment of the nonconforming structure or building or the nonconforming portion of such building or structure. In such an instance, a nonconforming structure or building shall not be permitted to be replaced, reconstructed, or rebuilt with another nonconforming structure or building or otherwise maintain any preexisting nonconformity.