. "Finally, the governing body of any county, city or town may adopt an ordinance to provide for the confinement of dogs which kill other dogs or domestic animals other than livestock or poultry. . . ." . . . .