Each township may, at its own expense, and in such places therein as the electors shall direct, provide and maintain 1 or more sufficient pounds, in which swine, sheep, horses, asses, mules, goats and neat cattle, may be restrained and kept from going at large contrary to law, or to any by-law of such township.