avoid mutation of params obj by cloning options.data
Merge pull request #395 from sarchila/master

Bugfix: avoid mutation of params obj by cloning options.data