Clone the options hash to prevent "opts.includePaths is undefined" errors

Referring to #126. Implemented the deep clone of the options hash at the prolog.