Use lodash for deep cloning.

This way Date, Regexp and other non-plain objects
are preserved while copying.

Fixes #139.