New Zealand snatched a 22-19 victory over Ireland with a desperate goal by Dan Carter in Christchurch on Saturday.