Generating, replicating or annihilating magnetic domains (also comprising different types of magnetic domains