Last time I saw that on a flight (not involving NZ) was flying to South Africa in 1981, with a stop in the Cape Verde Islands. I think the sprayed both on arrival and before departure.
I think islands have learned from Hawaii, which did not have mosquitos (they claim) until a ship arrived with some mosquitos in the hull/bilge in the 1800s.