In a special joint vote of the two houses of parliament, senators and members of parliament overwhelmingly supported the measure, 780 votes to 72.