Add the capability to copy from a plain object.