Convert broken clone sample to new platform style