dup()
Returns an exact copy of the hash.
# File activesupport/lib/active_support/hash_with_indifferent_access.rb, line 179 def dup self.class.new(self).tap do |new_hash| new_hash.default = default end end