Clone location parameter using JSON stringify and parse.

This is more reliable than using the clone module when the location parameter is a Mongoose object, for example.
1.0.1