Ten Australians have been arrested in nationwide protests involving both anti-Islam and anti-racism groups.