Other Long Island municipalities say they are considering the move after state lawmakers passed legislation allowing towns, cities and school districts to do so.