Move inreplace off of Object

Closes #21163.