Impurity-induced magnetic units embedded in ferromagnetic surfaces