implement transformation inheritance for m2m transformations