optimize Clones contains
refactor: use head()
fix NPE for clones