UPtrList::set(const label i, T* ptr); No-op if the new pointer value is identical to the current content. This avoid memory management issues.