Fixes in operations to adapt to shallow cloning
Merge pull request #1 from volaya/shallow_fix

Fixes in operations to adapt to shallow cloning