avoid mutation of params obj by cloning options.data