Moroccans do tend to dress up more than Americans. You'll want to bring some more formal clothes, especially for nice dinners at your hotel or riad. Although you still want to respect the Moroccan culture of modesty for these dinners, at a hotel you will be able to be more relaxed since it is a tourist environment.