Clone methods

Issues closed by this:

- https://github.com/nodegit/nodegit/issues/127
- https://github.com/nodegit/nodegit/issues/130
- https://github.com/nodegit/nodegit/issues/136
- https://github.com/nodegit/nodegit/issues/231