6990136: Cleanup use of Type.clone()

Introduced factory methods in class Types which can be used rather than clone().

Reviewed-by: jjg, mcimadamore
4 files changed