Used deep clone to copy options so subobjects like headers don't get modified
Merge pull request #8 from Clever/deep-clone-options

Used deep clone to copy options so subobjects like headers don't get modified