cloning of options & attributes is now handled in main APIs

- don't clone options/attributes in cli
- test to ensure options/attributes aren't modified when processing multiple files
fix behavior of AbstractNode#set_attr, add test