Add .shallowClone and .deepClone api convenience aliases

This pull request adds api shortcuts `deepClone` and `shallowClone` to circumvent the [api Boolean trap](http://ariya.ofilabs.com/2011/08/hall-of-api-shame-boolean-trap.html) problem.