Added replicate method to PosCar class