Add new API to manipulate the "cloned" flag