This implementation is based on the contextual cloning functionality of PDF Clown which allows to transparently and intuitively import contents from one document to another.