Jacob Duffy has taken a five-wicket haul as New Zealand bowled out the West Indies for 138 on a deteriorating fifth-day pitch to win the third test by 323 runs and to take the three-match series 2-0.