New Zealand's Prime Minister will go on maternity leave