Oman has passed a law which allows the government to revoke the citizenships of those criticising the country or working against its 'national interests'.