Deep vs Shallow Copy – with Examples

The spread operator is a great piece of syntax, but it produces shallow copies. What exactly does that mean? And when does it matter?