Fix duplicable? for Rational and Complex on ruby master, since they are now duplicable
#28544

vipulnsward wants to merge vipulnsward:fix-on-ruby-master into rails:master

We do not currently have an analysis of these two commits