Nothing in this act is intended to prevent cities or counties from enforcing local laws, enacted under other legal authority, for the gradual elimination of nonconforming uses.