clone flat level library

Added cloning at a flat level. @bbyler I'm going to push some failing tests for a deep copy next.