Fixed clone warnings not appearing due to change in clone API.