The way Morocco avoided the influence of the Arabs by being independent. Firstly, they stayed out of the Arab Union for 33 years. They have always been independent and have had corruption in the government too so they basically have protection. They are not easily led to do anything, like take on the viewpoints of the Arabs.
This is a very commendable characteristics of the country that has gotten them by for a long time. They simply will not succumb to the wishes of others and completely stand their ground. More countries should do so. They are now an independent nation due to this type of stance.