The owner may give bond for the retention of the animal or animals as in actions for the recovery of personal property.