Merge pull request #1730 from Azaezel/copyConstructorCorruption