Task option for passing a function to do additional cloning work