Debate on the issue has been ongoing in parliament for more than 15 years but this is the closest legislation has made it to become a law.