Its quite simple.
Any house you dont live in is an investment & taxable.
If you own more than 1 house , its an investment and is taxable.

The laws are allready there for the IRD to tax houses bought to make profits on sale . They simply dont follow up .

Trying to ban investors from housing wont solve the housing issue . It will mean less rentals and worsen the housing shortage .