Implemented shallow copy, deep copy, filtered copy and deep+filtered copy.