Fixed inputList cloning issues