a. The governing body may adopt or amend a zoning ordinance relating to the nature and extent of the uses of land and of buildings and structures thereon. Such ordinance shall be adopted after the planning board has adopted the land use plan element and the housing plan element of a master plan, and all of the provisions of such zoning ordinance or any amendment or revision thereto shall either be substantially consistent with the land use plan element and the housing plan element of the master plan or designed to effectuate such plan elements; provided that the governing body may adopt a zoning ordinance or amendment or revision thereto which in whole or part is inconsistent with or not designed to effectuate the land use plan element and the housing plan element, but only by affirmative vote of a majority of the full authorized membership of the governing body, with the reasons of the governing body for so acting set forth in a resolution and recorded in its minutes when adopting such a zoning ordinance; and provided further that, notwithstanding anything aforesaid, the governing body may adopt an interim zoning ordinance pursuant to subsection b. of section 77 of P.L. 1975, c.291 (C.
40:55D-90 ).
The zoning ordinance shall be drawn with reasonable consideration to the character of each district and its peculiar suitability for particular uses and to encourage the most appropriate use of land. The regulations in the zoning ordinance shall be uniform throughout each district for each class or kind of buildings or other structure or uses of land, including planned unit development, planned unit residential development and cluster development, but the regulations in one district may differ from those in other districts.