Remove common substructure from set of 3D molecules


I need help creating a workflow that will read a set of align 3D molecules, remove the substructure common to all of them, and then write out the remaining portion (as SDF) while preserving the original 3D alignment.

thanks in advance!