improve clone 

- clone history
- option for deep clone, default: false
- option for cloneBuffer, default: true
- use node-v8-clone for performance, fallback to lodash