The legislation on immigration in New Zealand prescribes several ways of becoming a citizen of this country.