user-defined depth on persistence. default is : entire subgraph of object being persisted