I might be wrong, but this looks more like an attempt to find an excuse, any excuse, to free the slave rather than favouritism.
If favouritism was indeed the intention, then such preferential statements should be visible in most or every other place Muslims are encouraged to free slaves, however, such is not the case.