<@U016HU5HK8V> you can do this manually in klayout...
# magic
m
@User you can do this manually in klayout (or it could be scripted but I didn't). You need to import the cell into the existing layout and then right click and replace an instance. It will replace them all.