apoc.refactor.cloneNodes withRelationships = true - hangs and does not complete call

With APOC 4.4.0.6 does anybody experience hanging of the call when using cloneNodes with relationships, as per the following simple example. Or am I doing something wrong?

// Query 1
CREATE (a:Person {name: "Mark", city: "London"})
CREATE (b:Person {name: "Dan", city: "Hull"})
CREATE (a)-[r:FRIENDS_WITH]->(b)
RETURN a,b

// Query 2
MATCH (p:Person)
WITH collect(p) AS people
CALL apoc.refactor.cloneNodes(people, true)
YIELD input, output
RETURN input, output;

I raised an issue, if it helps
https://github.com/neo4j-contrib/neo4j-apoc-procedures/issues/3000

I am also experiencing this issue using this APOC 4.4.0.6.

My queries worked fine when on APOC 4.4.0.3, but now hang as described above

Thank you! :grinning:
(migrated from khoros post Solved: Re: apoc.refactor.cloneNodes withRelationships = t... - Neo4j - 56994)

@mark-sts @dcsts

It's a regression introduced with the latest version.

I just created a pr to fix it https://github.com/neo4j-contrib/neo4j-apoc-procedures/pull/3005