# File lib/aws/core/xml_grammar.rb, line 116
        def deep_copy(hash = self)
          fields = hash.inject({}) do |copy,(key,value)|
            if value.is_a?(CustomizationContext)
              value = value.deep_copy
            elsif value.is_a?(Hash)
              value = deep_copy(value)
            end
            copy[key] = value
            copy
          end
          hash.merge(fields)
        end