The law, which will come into force in April, will be the most generous in the world, ministers say.