BS-964
Do not remove referenced datatype if paste is in the same diagram