There are many artificial swarming techniques. These two examples are both effective at stopping swarming; the first is very straight forward requiring just a nuc and some frames of foundation. The second requires a bigger kit list & planning, but conveys more health benefits.
Artificial Swarm into a NUC

Full Hive Artificial Swarm






