clone

deep cloning of objects and arrays

cloneobjectarrayfunctiondate

https://github.com/pvorb/clone