cloneWithProps should not print warning message when child's ref is copied

FYI, the warning doesn't make sense, since the ref has already been taken into consideration.