added deprecated javadocs, added toString() and clone()