Method Clone NamespaceMongoDB.Bson AssemblyMongoDB.Bson.dll Clone() Creates a shallow clone of the BsonJavaScriptWithScope (see also DeepClone). public override BsonValue Clone() Returns BsonValue A shallow clone of the BsonJavaScriptWithScope.