# File lib/active_record/base.rb, line 1418
      def initialize_copy(other)
        _run_after_initialize_callbacks if respond_to?(:_run_after_initialize_callbacks)
        cloned_attributes = other.clone_attributes(:read_attribute_before_type_cast)
        cloned_attributes.delete(self.class.primary_key)

        @attributes = cloned_attributes

        @changed_attributes = {}
        attributes_from_column_definition.each do |attr, orig_value|
          @changed_attributes[attr] = orig_value if field_changed?(attr, orig_value, @attributes[attr])
        end

        clear_aggregation_cache
        clear_association_cache
        @attributes_cache = {}
        @persisted = false
        ensure_proper_type

        populate_with_current_scope_attributes
      end