Does shallow copy increase the lifetime of an object?

Yes, the output object of the folder will be deleted when the filter is deleted if no other object references it. A copy operation does not increase the reference count of the source object.