Returns a shallow-copied clone of a given object.