optimizations; but contains a deep-copy prevention that fails some unit tests