MathWorks Interview Question

What's a smart pointer?