Optimize `Object::cast_to<T>()` using `Object::is_class()` now that it takes a `StringName`
memnew(RefCounted)
Ref<T>
Span