New Zealand has performed a feat worth commendation by eradicating an invasive species of butterfly in the country.