Add custom object properties to clone function.

Seems like a simple upgrade to the clone function. I don't know enough about the guts of it; looks like lodash is doing the lifting?

I am using it in my project currently, so maybe it will help? Thanks!