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