Index: doc/Object.3 =================================================================== diff -u -r0228cdf0ec65ab129536c20196a05d593ceb59b4 -r4b2d24131014fbce43704d880088a0c9f94a5692 --- doc/Object.3 (.../Object.3) (revision 0228cdf0ec65ab129536c20196a05d593ceb59b4) +++ doc/Object.3 (.../Object.3) (revision 4b2d24131014fbce43704d880088a0c9f94a5692) @@ -286,7 +286,7 @@ .sp \fIobj\fR \fBcontains\fR ?-withnew \fItrueFalse\fR? ?-object \fIobjectName\fR? ?-class \fIclassName\fR? \fIcmds\fR .sp -\fIobj\fR \fBcopy\fR \fInewObjectName\fR +\fIobj\fR \fBcopy\fR ?\fInewObjectName\fR? .sp \fIobj\fR \fBdelete object\fR \fIfeature\fR \fIarg\fR .sp @@ -577,12 +577,14 @@ \fBcopy\fR .RS .TP -\fIobj\fR \fBcopy\fR \fInewObjectName\fR +\fIobj\fR \fBcopy\fR ?\fInewObjectName\fR? Creates a full and deep copy of a source object \fIobj\fR\&. The -object's copy \fInewObjectName\fR features all structural and -behavioral properties of the source object, including object -variables, per-object methods, nested objects, slot objects, -namespaces, filters, mixins, and traces\&. +object's copy features all structural and behavioral properties of the +source object, including object variables, per-object methods, nested +objects, slot objects, namespaces, filters, mixins, and traces\&. The +copy can be named explicitly, if \fInewObjectName\fR is provided, +or it is named automatically (in the spirit of \fBnew\fR of +\fBnx::Class\fR)\&. .RE .TP \fBdelete\fR Index: doc/Object.man =================================================================== diff -u -r0228cdf0ec65ab129536c20196a05d593ceb59b4 -r4b2d24131014fbce43704d880088a0c9f94a5692 --- doc/Object.man (.../Object.man) (revision 0228cdf0ec65ab129536c20196a05d593ceb59b4) +++ doc/Object.man (.../Object.man) (revision 4b2d24131014fbce43704d880088a0c9f94a5692) @@ -262,13 +262,15 @@ [list_begin definitions] -[call [arg obj] [method copy] [arg newObjectName]] +[call [arg obj] [method copy] [opt [arg newObjectName]]] Creates a full and deep copy of a source object [arg obj]. The -object's copy [arg newObjectName] features all structural and -behavioral properties of the source object, including object -variables, per-object methods, nested objects, slot objects, -namespaces, filters, mixins, and traces. +object's copy features all structural and behavioral properties of the +source object, including object variables, per-object methods, nested +objects, slot objects, namespaces, filters, mixins, and traces. The +copy can be named explicitly, if [arg newObjectName] is provided, +or it is named automatically (in the spirit of [method new] of +[cmd nx::Class]). [list_end]