introduce clone to make sure input are different
3.1.4