Duke of York visits Morocco