Slicing operation help

input_array is what ?
(not part of the API)
and why the clone() ?

also, can you please explain the context of your operation ?
(even in python, those 2 lines don’t seem to fit together for me …)