Duplicate document does not work

A post was split to a new topic: Get selection bounds does not work with minVersion 23.0.0