update any_instance_spec for #dup