Arsenal describe forward Beth Mead as a "legend of the club" as they announce she is to leave at the end of the season.