Add deep clone function instead of using JSON
Update version