SetToLinkedList reimplemented with respect to the generalization for escaping of objects in Pardis