Refactoring: use the clone() method for inflating Surface objects