The best prevention would be figure out why they want to kill and solve the underlying issue, but that's too hard I guess. Strategies like "ban X" are an admission that we're not interested in root causes. Instead we pretend that removing the instruments or making the penalties worse will work. Predictably, all that will happen is people who want to commit mass murder will find other ways to do it.