The clerk of a town may hold office in a statutory city the territory of which was, before incorporation, a part of the town.