rubiii/savon — pull request #281 by gazay (2012-04-17 15:20:09+00:00)
Title: Clone body for not modifying original object

Savon modified original object in case when it contains :attributes!. For example:

```ruby

module A
extend self

def base_body
@base_data ||= \
{
:a => 123,
:attributes! => {
:a => {
:some_attr => 321
}
}
}
end

end

savon_client.request :some_request do |soap|
soap.body = A.base_body
end

puts A.base_body
=> { :a => 123 }
```