Why has it worked so well here? I don't know the full answer, but by and large people have been very responsible. The last time I was at an airport, back in early February, every single person was wearing a mask, and in lots of public places the majority of people continue to do so. Mask wearing has not been politicised here. Also every shopping mall and most restaurants/public places scan you for temperature on entry and have a book where you can (optionally) write down your name or register with an app to be notified if it is later discovered an infected person has been there the same day you were.
But that's not feasible in most countries.
Austrailia and NZ don't rely on a just-in-time cross border economy like the US and Europe. Goods arrive after being on boats which have been off shore for days or weeks.
Compare with the US-Canada "border closure", where thousands of trucks, and their drivers, have crossed each way every day all year.
Or even trailer drop-off and pick-up for no-chance-of-personal-contact changes.
They just choose not to.
Canadian cross-border truckers arriving back from ??? USA are largely exempt from quarantine requirements upon return.