Important
Cloning documents is not permitted in MongoDB Compass Readonly Edition.MongoDB Compass只读版不允许克隆文档。
You can insert new documents by cloning the schema and values of an existing document in a collection.您可以通过克隆集合中现有文档的架构和值来插入新文档。
Select the appropriate tab based on whether you are viewing your documents in List, JSON, or Table view:根据您是在列表、JSON还是表视图中查看文档,选择相应的选项卡:
List View
To clone a document, hover over the desired document and click the Clone button.要克隆文档,请将鼠标悬停在所需的文档上,然后单击“克隆”按钮。

You can also right-click on the desired document and click Clone document... from the drop-down menu.您还可以右键单击所需的文档,然后从下拉菜单中单击“克隆文档…”。
Json View
To clone a document, hover over the desired document and click the Clone button.要克隆文档,请将鼠标悬停在所需的文档上,然后单击“克隆”按钮。

You can also right-click on the desired document and click Clone document... from the drop-down menu.您还可以右键单击所需的文档,然后从下拉菜单中单击“克隆文档…”。
Table View
To clone a document, hover over the desired document and click the Clone button.要克隆文档,请将鼠标悬停在所需的文档上,然后单击“克隆”按钮。

When you click the Clone button, Compass opens the document insertion dialog with the same schema and values as the cloned document. You can edit any of these fields and values before you insert the new document. To learn more about inserting documents, see Insert Documents.单击“克隆”按钮时,Compass将打开文档插入对话框,其模式和值与克隆的文档相同。在插入新文档之前,您可以编辑这些字段和值中的任何一个。要了解有关插入文档的更多信息,请参阅插入文档。