Reduction of carbodiimides by samarium(II) bis(trimethylsilyl)amides-formation of oxalamidinates and amidinates through C-C coupling or C-H activation.