SMS: on the duplication system with repair and preventive maintenance