This requirement shall apply beginning with the effective date of this section to any multifamily or single-family attached residential development, including the residential portion of a mixed-use project, which consists of five or more new residential units, whether permitted by a zoning amendment, a variance granted by the Planning Board, or adoption of a redevelopment plan or amended redevelopment plan in areas in need of redevelopment or rehabilitation.