Fixed issue with cloning where the inherited changes where duplicated.