Medical clone checking and output cleanup