I have read in another topic that dev thinks it is some sort of bug, but it isn't.
On both official servers they have this feature, it is not a bug if you can replace old pet with the new one, you are not having 2 pets at the same time.
https://www.youtube.com/watch?v=uMrrH009qvI&t=444s
2:31