Morocco confirmed that a man in the city of Marrakesh has contracted mpox, after the World Health Organisation declared the outbreak of international concern.