We report an anomalous structural transformation of a Cu(I) cluster into two different types of copper-silver (CuAg) alloy nanoclusters. Different from previous reports, we demonstrate that under specifically designed reaction conditions, the Ag-doping could induce a substantial growth of the starting Cu15 and a Ag13Cu20 nanocluster was obtained via the unexpected insertion of an Ag13 kernel inside the Cu(I)-S shell. Ag13Cu20 demonstrates high activity to initiate the photopolymerization of previously hard-to-print inorganic polymers in 3D laser microprinting. Interestingly, a slight modification of the reaction condition leads to the formation of another Ag18-xCuxS (8≤x) nanocluster templated by a central S2- anion, which possesses a unique electronic structure compared to conventional template-free CuAg nanoclusters. Overall, this work unveils the intriguing doping chemistry of Cu clusters, as well as their capability to create different types of alloy nanoclusters with previously unobtainable structures and multifunctionality.